Repository navigation
Conversation
…al tag Prepare Release tagged the version commit vX.Y.Z_RC so that later jobs (Stage to Maven Central, Publish Gradle Plugins, Build Distributions, Release smoke, Finalize Release Tag, container images) could check it out before the final tag exists; a release candidate has no branch to carry it. Finalize Release Tag then deleted the internal tag, but the repository's tag rules forbid that: for 3.0.0-RC1 (run 44069366261) the push was rejected with "GH013 ... Cannot delete this tag", `|| true` hid it, and v3.0.0-RC1_RC stayed behind. Every release would leave one. Prepare Release now bundles the commits GitHub does not have (`git bundle create ... HEAD --not --remotes=origin`), before the release branch push, and uploads the bundle as the release-commit artifact. The jobs that need the release commit check out commit_sha with full history (so the bundle's prerequisites are present), fetch the bundle, and check out release_sha. Finalize Release Tag pushes the final tag, which uploads the commit. Dry runs use the same path, so Build Distributions no longer needs a separate dry-run checkout. Removes the leftover-_RC-tag checks from validate and release.sh, and the internal tag from the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
Dry runs used to build commit_sha, which lacks the version commit, so Build Distributions re-applied the version. Every run now builds the release commit from the release-commit bundle, which already carries it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
Collaborator
Author
|
Closing as superseded by #1031, which landed the same fix on Generated by Claude Code |
jbachorik
pushed a commit
that referenced
this pull request
Nov 17, 2026
develop gained #1031, which replaces the internal vX.Y.Z_RC tag with a release-commit bundle, the same fix as the closed #1030; this merge takes develop's version of every file. Two leftovers remain and are removed: - Build Distributions' "Update version for dry run" step. Dry runs used to build commit_sha, which lacks the version commit; every run now checks out the release commit from the bundle, which already carries it, and no later step reads the VERSION_FILE it exported. - The "RC tag" row of the release checklist's candidate identity, now the release commit that Prepare Release outputs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
12 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
Stops the release workflow from creating its internal
vX.Y.Z_RCtag.Why the tag existed. Prepare Release commits the version change. The jobs between Prepare Release and Finalize Release Tag need that commit before the final tag names it: Stage to Maven Central, Publish Gradle Plugins, Build Distributions, the release smoke test and the container images. A release candidate has no branch to carry it, so the commit was parked under
vX.Y.Z_RC.Why it has to go. Finalize Release Tag deletes the internal tag, but the repository's tag rules forbid deleting tags. For
3.0.0-RC1(run 44069366261) the push was rejected:|| truehid the error and the step still logged "Deleted RC tag". Every release would leave one of these tags behind.The replacement:
git bundle create … HEAD --not --remotes=origin) and uploads the bundle as therelease-commitartifact. This runs before the release-branch push, which would otherwise leave nothing to bundle.commit_shawith full history, so the bundle's prerequisites are present, then fetches the bundle and checks outrelease_sha, failing unless HEAD equals it.eb43f023). It only re-applied the version when dry runs built the barecommit_sha; the release commit already carries it.The
_RCleftover checks are removed fromvalidateandscripts/release.sh.docs/releasing.mdanddocs/ReleaseChecklist.mddrop the internal tag; the existingv3.0.0-RC1_RCcan be ignored.Related issue
N/A. Found in the
3.0.0-RC1release run.Scope and compatibility
Compatibility or migration notes: release workflow and release script only, for every release type.
Testing
spotlessCheckCommands and results:
Documentation and release impact
Release notes / follow-up work: a dry run skips Stage to Maven Central, Publish Gradle Plugins, the release smoke test, Finalize Release Tag and the container images. They use the same checkout steps; the next real release is their first run.
Final checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
This change is